<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'update.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <%
  String book_id=request.getParameter("book_id");
  session.setAttribute("book_id", book_id);
   %>
   <h1>图书改写</h1>
  <body>
  <form action="bookServlet?opr=upd"method="post">
   编号<input type="text" id="book_id" name="book_id"><br>
  类名<input type="text" id="type" name="type"><br>
  书名<input type="text" id="title" name="title"><br>
  出版社<input type="text" id="publisher" name="publisher"><br>
  年份<input type="text" id="year" name="year"><br>
  作者<input type="text" id="author" name="author"><br>
  价格<input type="text" id="price" name="price"><br>
  总藏书量<input type="text" id="number" name="number"><br>
  库存<input type="text" id="stocks" name="stocks"><br>
 <input type="submit" value="提交">
		<input type="reset" value="重置">
 	<%-- <td>${book.type}</td>
 	<td>${book.title}</td>
 	<td>${book.publisher}</td>
 	<td>${book.year}</td>
 	<td>${book.author}</td>
 	<td>${book.price}</td>
 	<td>${book.number}</td>
 	<td>${book.stocks}</td> --%>
  </form>
  </body>
</html>
